<%-- 
    Document   : editaCliente
    Created on : 05/07/2012, 15:20:00
    Author     : davi
--%>

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Edicao de ${cliente.nome}</h1>
        
        <form action="control" method="post">
            id: ${cliente.idCliente}<input type="hidden" value="${cliente.idCliente}" name="idcliente"/><br>
            nome: <input type="text" value="${cliente.nome}" name="nome"><br>
            Data de Nascimento: <input type="text" value="<fmt:formatDate value="${cliente.dtNasc}" pattern="dd/MM/yyyy" />" name="dtNasc"><br>
            Data de Cadastro: <input type="text" value="<fmt:formatDate value="${cliente.dtCadastro}" pattern="dd/MM/yyyy" />" name="dtCadastro"><br>
            Data ultima atualizacao: <fmt:formatDate value="${cliente.dtAtualizacao}" pattern="dd/MM/yyyy" /><br>
        <input type="hidden" name="logica" value="cliente.AtualizaCliente"/>
        <input type="submit" value="editar">
        
        </form>
        
        
    </body>
</html>
